<!DOCTYPE html>
<html>
<head>
    <META content="IE=7.0000" http-equiv="X-UA-Compatible">
    <title></title>
    <META content="text/html; charset=utf-8" http-equiv=Content-Type>
    <LINK rel=stylesheet type=text/css href="__PUBLIC__/Css/Style.css">
    <LINK rel=Stylesheet type=text/css href="__PUBLIC__/css/jquery-ui-1.8.16.custom.css">
    <LINK rel=Stylesheet type=text/css href="__PUBLIC__/css/jquery.cropzoom.css">
    <script  type="text/javascript" src="__PUBLIC__/libs/js/jquery.js"></script>

    <script type="text/javascript" src="__PUBLIC__/js/showdate.js"></script>

    <script type="text/javascript">
        function check(fr) {
            if (fr.domain.value == "") {
                alert('公司网址不能为空！');
                fr.domain.focus();
                return false
            }
            if (fr.signdate.value == "") {
                alert('签单日期不能为空！');
                fr.signdate.focus();
                return false
            }
            return true
        }


    </script>

</head>
<body>

<DIV class="infoBox" id="infoBox">
    <form id="form1" onSubmit="return check(this)" name="form1" method="post" action="__ROOT__/system.php/kefu/saveyewu/type/2">
        <TABLE width="100%" border=0 align="left" cellPadding=0 cellSpacing=0>
            <TBODY>
            <TR>
                <TD class=infoBoxTd width=68>公司名称：</TD>
                <TD width="446">
                    {$custom['company']}
                    <input id="cid" name="cid" type="hidden" value="{$custom.id}" />
                </TD>
            </TR>
            <TR>
                <TD class=infoBoxTd width=68>负责人：</TD>
                <TD width="446"> <label id="cname">{$custom.cname}</label> </TD>
            </TR>
            <TR>
                <TD class=infoBoxTd width=68>联系电话：</TD>
                <TD width="446"> <label id="tel">{$custom.tel}</label> </TD>
            </TR>
            <TR>
                <TD class=infoBoxTd width=68>公司网址：</TD>
                <TD width="446">
                    <textarea name="domain" rows="2" cols="20" id="domain" class="formTextarea"
                              style="height:50px;width:400px;">{$website.domain}</textarea>
                    <br />
                    <SPAN  id="box_N_Title"></SPAN><LABEL>必须填写</LABEL></TD>
            </TR>
            <TR>
                <TD class=infoBoxTd width=68>备案号：</TD>
                <TD width="446"><INPUT style="WIDTH: 300px" id="recordnumber" class="formTitle" name="recordnumber" value="{$website.recordnumber}">
                </TD>
            </TR>
            <TR>
                <TD class=infoBoxTd width=68>总费用：</TD>
                <TD width="446"><INPUT style="WIDTH: 300px" id="summoney" class="formTitle" name="summoney" value="{$website.summoney}" /> </TD>
            </TR>
            <TR>
                <TD class=infoBoxTd width=68>签单日期：</TD>
                <TD width="446">
                    <input type="text" id="signdate" name="signdate"  onclick="return Calendar('signdate');" class="formTitle"
                           value="<?php if($website!=null&& $website['signdate']!='0000-00-00 00:00:00') echo date('Y-m-d',strtotime($website['signdate'])); ?>"/>
                    <SPAN  id="box_N_Title"></SPAN><LABEL>必须填写</LABEL>
                </TD>
            </TR>
            <TR>
                <TD class=infoBoxTd width=68>域名日期：</TD>
                <TD width="446">
                    <input type="text" id="domaindate" name="domaindate"  onclick="return Calendar('domaindate');" class="formTitle"
                           value="<?php if($website!=null&& $website['domaindate']!='0000-00-00 00:00:00') echo date('Y-m-d',strtotime($website['domaindate'])); ?>"/>
                </TD>
            </TR>
            <tr>
                <td class=infoBoxTd width=68>签单人：</td>
                <td  width="446"> <input type="text" id="signuser" name="signuser" class="formTitle"
                                         value="{$website.signuser}"/></td>
            </tr>
            <TR>
                <TD class=infoBoxTd width=68>备注：</TD>
                <TD width="446">
                    <textarea name="remark" rows="2" cols="20" id="remark" class="formTextarea"
                              style="height:50px;width:400px;">{$website.remark}</textarea>
                </TD>
            </TR>

            <TR>
                <TD class=infoBoxTd>&nbsp;</TD>
                <TD>
                    <input class="buttons" type="submit" value="保存数据"/>
                    <input name="action" type="hidden"   value="{$action}" />
                    <input name="type" type="hidden"   value="2" />
                    <input name="id" type="hidden"   value="{$website.id}" />
                </TD>
            </TR>
            </TBODY>
        </TABLE>
    </FORM>
</DIV>



</body>
</html>